﻿using System;
using System.Data;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace VSM.Business.Printing.Reports
{
    //public delegate void btnViewReport_Click(object sender, System.EventArgs e);

    public partial class CriteriaVehiclesInOutStockAtVSMDealers : System.Web.UI.UserControl
    {
        #region Public Properties

        public DropDownList DBName
        {
            get { return ddlDBName; }
        }

        public TextBox FromDate
        {
            get { return txtFromDate; }
        }

        public TextBox ToDate
        {
            get { return txtToDate; }
        }

        #endregion

        #region Public Event
        public event btnViewReport_Click btnViewReportClk;
        #endregion

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                
            }
        }

        protected void btnViewReport_Click(object sender, EventArgs e)
        {
            //Call Virtual Method
            OnbtnDelQtnMrClk(e);
        }

        #region Vitual Methods
        protected virtual void OnbtnDelQtnMrClk(EventArgs e)
        {
            // Call btnPost_Click event delegate instance
            btnViewReportClk(this, e);
        }
        #endregion

    }
}